# To change this template, choose Tools | Templates
# and open the template in the editor.

__author__="james"
__date__ ="$27/04/2011 7:36:22 PM$"

from actors.Actor import Actor
import pygame, sys, os, time
from libraries.resource import load_image

class Enemy_Simple(Actor):    
    def draw_actor(self):
        self.image, self.rect = load_image('player.png', -1)
        pass

    def update(self):        
        if self.dead:
            self.death_length = self.death_length - 1;
        if self.death_length < 0:
            self.kill()

    def die(self):
        self.image, null = load_image('explode.png', -1)
        self.dead = True
        

